package com.smart.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.smart.mapper.OperateLogMapper;
import com.smart.model.domain.OperateLogDO;
import com.smart.service.OperateLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhanghong
 */
@Service
public class OperateLogServiceImpl extends ServiceImpl<OperateLogMapper, OperateLogDO> implements OperateLogService {
    @Autowired
    private OperateLogMapper operateLogMapper;

    @Override
    public Boolean add(OperateLogDO operateLog) {
        save(operateLog);
        return true;
    }
}
